package com.fzdy.product.controller.user;

import com.alibaba.fastjson.JSONObject;
import com.fzdy.product.controller.admin.AdminController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController{
   private AdminController adminController=new AdminController();

    @RequestMapping(value = "/getMessage")
    public JSONObject getMessage() {
        return adminController.getMessage();
    }
}
